negotiator.distributedtournament
Class Job
java.lang.Object
negotiator.distributedtournament.Job
public class Job
- extends java.lang.Object
Describes a job: a partial tournament.
- Version:
- 17-12-11
- Author:
- Mark Hendrikx
|
Constructor Summary |
Job(int jobID,
int sessionID,
java.util.List<negotiator.protocol.Protocol> sessions)
Store the information |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Job
public Job(int jobID,
int sessionID,
java.util.List<negotiator.protocol.Protocol> sessions)
- Store the information
- Parameters:
jobID - ID of the main job.sessionID - ID of the particular set of sessions of this job.sessions - sessions to be processed as part of this sessionID.
getJobID
public int getJobID()
- Returns:
- ID of the high-level job.
getSessionID
public int getSessionID()
- Returns:
- ID of the partiular session of the job that should be run.
getSessions
public java.util.List<negotiator.protocol.Protocol> getSessions()
- Returns:
- sessions which are part of the session.